package org.jetnuke.dao;

import java.util.List;

import org.jetnuke.entities.StoriesCat;

public interface StoriesCatDAO {
	public StoriesCat retrieveByPK(int storyCatId) throws Exception ;
	public void deleteByPK(int storyCatId) throws Exception ;
	public List selectAll()throws Exception;

	public List selectAllOrderTitle()throws Exception;
	public List selectOrderCounterDesc(int i)throws Exception;
	/**
	 * @param cat
	 */
	public int addNew(StoriesCat cat)throws Exception;
	/**
	 * @param cat
	 */
	public void update(StoriesCat cat)throws Exception;
	/**
	 * @param catid
	 */
	public void incCounter(int catid)throws Exception;
}
